<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection" />
    <meta content="emai=no" name="format-detection" />
    <link rel="stylesheet" type="text/css" href="/css/common.css" />
    <link rel="stylesheet" type="text/css" href="/css/group.css" />
    <title>我的社团</title>
    <style>
        .g-list{
            background-color:transparent;
        }
    </style>
</head>
<body>
    <div class="wrapper">
        <div class="g-list">
            <?php if($list):?>
            <ul class="g-list-group">
    			<?php foreach ($list as $key=>$item):?>
                <li class="g-list-item" data-href="/organization/detail?id=<?php echo $item['organization_id']?>&type=3">
                    <div class="flex-wrapper flex-align-center">
                        <div class="g-list-left">
                            <span class="avatar">
                             <img src="<?php echo STATIC_IMAGE . $item['icon']?>" alt="" />
                            </span>
                        </div>
                        <div class="g-list-right flex-1">
                            <p class="g-list-title">
                                <span class="s-right <?php echo $item['class']?>"><?php echo $item['join_info']?></span>
                               				 <?php echo $item['organization_name']?>
                            </p>
                            <p class="g-list-desc interception"><?php echo $item['description']?></p>
                        </div>
                    </div>
                </li>
                <?php endforeach;?>
            </ul>
            <?php else:?>
             <div class="no-result">
                <img src="/img/no_group.png" /><br/>
                <img class="goto" src="/img/txt_gotoassociation.png" /><br />
                <a class="goto" href="/organization">社区大本营</a>
            </div>
            <?php endif;?>
        </div>
    </div>
    <script src="/js/zepto-1.1.6.js" type="text/javascript"></script>
    <script src="/js/common.js" type="text/javascript"></script>
</body>
</html>
